﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OfficeWorkstation
{
    class Constant
    {
        /*
        public const int EncryptedMessage = 0;
        public const int RequestMessage = 1;
        public const int ResponseMessage = 2;
        public const int AddMessage = 3;
        public const int EditMessage = 4;
        public const int DeleteMessage = 5;
        public const int AddMetaDataMessage = 6;
        public const int ResultMessage = 7;
        public const int BackupMessage = 8;
        public const int RestoreMessage = 9;
        public const int IssuerMessage = 10;
         */


        public const char SEPERATOR_CHAR = '$';
        public const int SERVER_PORT = 7787;

        public const int CONFIG_NUM_RAND_STRING = 1;

        public const int WELCOMECONNECTING = 6593;
        public const int REQUESTCONNECTING = 2872;
        public const int RESPONSECONNECTING = 1103;
        public const int REQUESTWELCOME = 2973;
        public const int REQUESTPAIRCODE = 3943;
        public const int RESPONSEPAIRCODE = 5292;
        public const int RESPONSECONTENT = 1155;

        public const int REQUESTFILLFIELD = 2211;   // IE here
        public const int RESPONSEFILLFIELD = 2218;  // IE here
        public const int REQUESTFIELD = 1122;
        public const int RESPONSEFIELD = 1127;

        public const int CHECKLIVING = 1101;
        

        public const int STATUS_NOT_CONNECTED = 0;
        public const int STATUS_WAIT_FOR_CODE = 1;
        public const int STATUS_CONNECTED = 2;

        //public const int TimeOut = 10000;

        public const double TIMEOUT = 10;   // minutes


    }
}
